An Earley-style Predictive Chart Parsing Method for Lambek Grammars
نویسنده
چکیده
We present a new chart parsing method for Lambek grammars, inspired by a method for DTree grammar parsing. The formulae of a Lambek sequent are firstly converted into rules of an indexed grammar formalism, which are used in an Earley-style predictive chart algorithm. The method is non-polynomial, but performs well for practical purposes much better than previous chart methods for Lambek grammars. 1 I n t r o d u c t i o n We present a new chart parsing method for Lambek grammars. The starting point for this work is the observation, in (Hepple, 1998), of certain similarities between categorial grammars and the D-Tree grammar (DTG) formalism of Rambow et al. (1995a). On this basis, we have explored adapting the DTG parsing approach of Rambow et al. (1995b) for use with the Lambek calculus. The resulting method is one in which the formulae of a Lambek sequent that is to be proven are first converted to produce rules of a formalism which combines ideas from the multiset-valued linear indexed grammar formalism of Rainbow (1994), with the Lambek calculus span labelling scheme of Morrill (1995), and with the first-order compilation method for categorial parsing of Hepple (1996). The resulting 'grammar' is then parsed using an Earley-style predictive chart algorithm which is adapted from Rambow et al. (1995b). 2 T h e L a m b e k C a l c u l u s We are concerned with the implicational (or 'product-free') fragment of the associative Lambek calculus (Lambek, 1958). A natural deduction formulation is provided by the following rules of elimination and introduction, which correspond to steps of functional application and abstraction, respectively (as the term labelling reveals). The rules are sensitive to the order of assumptions. In the [/I] (resp. [\I]) rule, [B] indicates a discharged or withdrawn assumption, which is required to be the rightmost (resp. leftmost) of the proof. A / B :a B :b /E B : b B \ A a
منابع مشابه
An Earley Parsing Algorithm for Range Concatenation Grammars
We present a CYK and an Earley-style algorithm for parsing Range Concatenation Grammar (RCG), using the deductive parsing framework. The characteristic property of the Earley parser is that we use a technique of range boundary constraint propagation to compute the yields of non-terminals as late as possible. Experiments show that, compared to previous approaches, the constraint propagation help...
متن کاملChart Parsing Lambek Grammars: Modal Extensions And Incrementality
This paper I describes a method for chart parsing Lambek g rammars . The method is of part icular interest in two regards. Firstly, it allows efficient processing of g rammars which use necessity operators, mr extension proposed for handling locality phenomena. Secondly, the method is easily adapted to allow incremental proceasing of Lambek grammars , a possibility tha t has hitherto been unava...
متن کاملAn Incremental Earley Parser for Simple Range Concatenation Grammar
We present an Earley-style parser for simple range concatenation grammar, a formalism strongly equivalent to linear context-free rewriting systems. Furthermore, we present different filters which reduce the number of items in the parsing chart. An implementation shows that parses can be obtained in a reasonable time.
متن کاملOn the Connection between Context-free Grammars and Lambek Categorial Grammars
Overview A method is described for proving the weak equivalence theorem between natural-deduction style Lambek Categorial Grammmars (LCG) and Context-Free Grammars (CFG). The method is achieved using a simple representation for derivations from the associative, product-free Lambek Calculus in the LF metalanguage 10], which can be adapted to the representation of other substruc-tural logics in L...
متن کاملParsing as Natural Deduction
The logic behind parsers for categorial grammars can be formalized in several different ways. Lambek Calculus (LC) constitutes an example for a natural deduction 1 style parsing method. In natural language processing, the task of a parser usually consists in finding derivations for all different readings of a sentence. The original Lambek Calculus, when it is used as a parser / theorem prover, ...
متن کامل